<div class="container_wrap">

    <h2 class="section_tit">회원가입<span>설명</span></h2>
    
    <div class="wd600 mb10" style="position:relative;">
        
        <form name="regForm" id="regForm" method="post" onsubmit="Join.act(); return false;" enctype="multipart/form-data">
        <input type="hidden" name="check_email" id="check_email" value="" />
        
        <table class="tbls">
        <col width="120" />
        <col width="*" />
        <tr>
            <th class="left">이메일</th>
            <td>
                <input type="text" name="user_email" id="user_email" value="" class="input wd200" maxlength="80" />
                <span class="button black small strong"><a href="javascript:;" onclick="Join.checkEmail();">중복확인</a></span>
            </td>
        </tr>
        <tr>
            <th class="left">비밀번호</th>
            <td><input type="password" name="user_pass" id="user_pass" value="" class="input" maxlength="20" /></td>
        </tr>
        <tr>
            <th class="left">비밀번호 확인</th>
            <td><input type="password" name="user_pass_check" id="user_pass_check" value="" class="input" maxlength="20" /></td>
        </tr>
        <tr>
            <th class="left">닉네일(이름)</th>
            <td><input type="text" name="user_nick" id="user_nick" value="" class="input" maxlength="20" /></td>
        </tr>
        <tr>
            <th class="left">성별</th>
            <td>
                <input type="radio" name="user_gender" id="gender_m" value="m" /> <label for="gender_m" class="radio_label mr10">남성</label>
                <input type="radio" name="user_gender" id="gender_f" value="f" /> <label for="gender_f" class="radio_label">여성</label>
            </td>
        </tr>
        <tr>
            <th class="left">생년월일</th>
            <td>
                <select name="b_year" id="b_year">
                <option value="">:년</option>
                <?php 
                $iYear = date("Y");
                for ($i = 1940; $i < $iYear; $i++) {
                    echo '<option value="'.$i.'">'.$i.'</option>';
                }
                ?>
                </select> 
                <select name="b_month" id="b_month">
                <option value="">:월</option>
                <?php 
                for ($i = 1; $i < 13; $i++) {
                    $_i = sprintf('%02d', $i);
                    echo '<option value="'.$_i.'">'.$i.'</option>';
                }
                ?>
                </select> 
                <select name="b_day" id="b_day">
                <option value="">:일</option>
                <?php 
                for ($i = 1; $i < 32; $i++) {
                    $_i = sprintf('%02d', $i);
                    echo '<option value="'.$_i.'">'.$i.'</option>';
                }
                ?>
                </select>
            </td>
        </tr>
        <tr>
            <th class="left">대표이미지</th>
            <td>
                <input type="file" name="filename" id="filename" value="" />
            </td>
        </tr>
        
        <tr>
            <th class="left">관심역1</th>
            <td>
                <select name="city1" id="city1" onchange="Join.getLineList(this.id, 'line1');">
                <option value="">:도시</option>
                <?php 
                for ($i = 0, $iLen = count($aCityList); $i < $iLen; $i++) {
                    $_row = $aCityList[$i];
                    
                    echo '<option value="'.$_row['city_no'].'">'.$_row['city'].'</option>';
                }
                ?>
                </select> 
                <select name="line1" id="line1" onchange="Join.getStationList('city1', this.id, 'station1');">
                <option value="">:호선</option>
                </select> 
                <select name="station1" id="station1">
                <option value="">:역</option>
                </select> 
            </td>
        </tr>
        <tr>
            <th class="left">관심역2</th>
            <td>
                <select name="city2" id="city2" onchange="Join.getLineList(this.id, 'line2');">
                <option value="">:도시</option>
                <?php 
                for ($i = 0, $iLen = count($aCityList); $i < $iLen; $i++) {
                    $_row = $aCityList[$i];
                    
                    echo '<option value="'.$_row['city_no'].'">'.$_row['city'].'</option>';
                }
                ?>
                </select> 
                <select name="line2" id="line2" onchange="Join.getStationList('city2', this.id, 'station2');">
                <option value="">:호선</option>
                </select> 
                <select name="station2" id="station2">
                <option value="">:역</option>
                </select> 
            </td>
        </tr>
        
        </table>
        
        <div id="tmp_view_img" style="border:1px solid #DBDBDB; width:100px; height:100px; position:absolute; top:0px; left:498px; background:#fff;"></div>

        <div class="center mt10"><span class="button black large strong"><button type="submit">확인</button></span> <span class="button white large strong"><a href="javascript:;" onclick="Base.stopSpin();">취소</a></span></div>
        
        </form>

    </div>

</div>